Skip to content

Switch from floryn90/hugo to ghcr.io/gohugoio/hugo image#337

Open
julianladisch wants to merge 1 commit intogoogle:mainfrom
julianladisch:hugomods
Open

Switch from floryn90/hugo to ghcr.io/gohugoio/hugo image#337
julianladisch wants to merge 1 commit intogoogle:mainfrom
julianladisch:hugomods

Conversation

@julianladisch
Copy link
Copy Markdown

@julianladisch julianladisch commented Dec 13, 2024

Switch from floryn90/hugo to ghcr.io/gohugoio/hugo image

The site build using docker-compose fails since floryn90/hugo v0.134.3:

Error: error building site: failed to acquire a build lock: open /src/.hugo_build.lock: permission denied

Cause: The Alpine image has switched from root user to hugo user:

Florin-Lungu/docker-hugo@b261630

Fix: Switch to offical ghcr.io/gohugoio/hugo image that doesn't have the problem.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Switches the Docker configuration from a custom-built image using floryn90/hugo to the hugomods/hugo:std-exts image to resolve permission issues. This change eliminates the need for a custom Dockerfile since the new image includes all required dependencies.

  • Replaced custom Docker build with hugomods/hugo:std-exts image
  • Simplified docker-compose configuration and documentation
  • Removed obsolete Dockerfile

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docker-compose.yaml Updated to use hugomods/hugo:std-exts image directly, added cache volume mount
README.md Simplified Docker setup instructions by removing build step
Dockerfile Removed entirely as it's no longer needed

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread docker-compose.yaml Outdated
Comment thread docker-compose.yaml Outdated
@chalin
Copy link
Copy Markdown
Collaborator

chalin commented Oct 13, 2025

@deining - any comment?

@johngtimms
Copy link
Copy Markdown

Neither floryn90/hugo:ext-alpine nor this PR's hugomods/hugo:std-exts work with main (currently fb41620).

I found that image: ghcr.io/gohugoio/hugo works.

@chalin
Copy link
Copy Markdown
Collaborator

chalin commented Jan 18, 2026

I found that image: ghcr.io/gohugoio/hugo works.

Can you make this update, and resolve conflicts?

The site build using docker-compose fails since floryn90/hugo v0.134.3:

```
Error: error building site: failed to acquire a build lock: open /src/.hugo_build.lock: permission denied
```

Cause: The Alpine image has switched from root user to hugo user:

Florin-Lungu/docker-hugo@b261630

Fix: Switch to offical ghcr.io/gohugoio/hugo image that doesn't have the problem.
@julianladisch julianladisch changed the title Switch from floryn90/hugo to hugomods/hugo image Switch from floryn90/hugo to ghcr.io/gohugoio/hugo image May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants